package com.guli.mall.pms.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.guli.common.utils.PageUtils;
import com.guli.mall.pms.entity.CategoryBrandRelationEntity;

import java.util.List;
import java.util.Map;

/**
 * 品牌分类关联
 *
 * @author 罗俊华
 * @email 1007052116@qq.com
 * @date 2020-09-17 11:37:22
 */
public interface CategoryBrandRelationService extends IService<CategoryBrandRelationEntity> {

    PageUtils queryPage(Integer currentPage,Integer size);

    PageUtils<CategoryBrandRelationEntity> getCategoryBrandRelationByBrandId(Long brandId, Integer currentPage, Integer size);

    void updateCategoryName(Long catelogId, String categoryName);

    List<CategoryBrandRelationEntity> getCategoryBrandRelationListByCategoryId(Long categoryId);
}

